home *** CD-ROM | disk | FTP | other *** search
/ The PC-SIG Library 12 / PC-Sig Library (12th Edition)(PC-SIG)(1993).iso / run / formgen / define.hlp < prev    next >
Text File  |  1990-10-25  |  14KB  |  1 lines

  1. FormGen Fill                  Cursor Movement Keys                      Help  1                              ════════════════════                                                                                                            ┌────┐                                  ┌────┐                                 │   │ - Move cursor up one line.       │Home│ - Move cursor to left edge      └────┘                                  └────┘   of screen.                    ┌────┐                                  ┌────┐                                 │   │ - Move cursor down one line.     │End │ - Move cursor to right edge     └────┘                                  └────┘   of screen.                    ┌────┐                                  ┌────┐                                 │ ─ │ - Move cursor left by one        │PgUp│ - Move up one page.             └────┘   position.                      └────┘                                 ┌────┐                                  ┌────┐                                 │ ─ │ - Move cursor right by           │PgDn│ - Move down one page.           └────┘   one position.                  └────┘                                 ┌────┐                                  ┌────┐                                 │─│ │ - Move cursor right to the       │ │─│ - Move cursor left to next      └────┘   next tab stop.                 └────┘   tab stop.                     ┌────┐                                  ┌────┐                                 │ F7 │ - Move the cursor left to the    │ F8 │ - Move the cursor right to the  └────┘   next non-blank character.      └────┘   next non-blank character.     ┌────┐                                                                         │ ─┘│ - Move to the beginning of                                              └────┘   the next line.                                                        =====                                                                          FormGen Fill                  Cursor Movement Keys (cont'd)             Help  2                              ════════════════════                                                                                                            ┌────┐┌────┐                            ┌────┐┌────┐                           │Ctrl││Home│ - Move cursor to upper     │Ctrl││PgUp│ - Move cursor to top      └────┘└────┘   left corner of screen.   └────┘└────┘   of form.                ┌────┐┌────┐                            ┌────┐┌────┐                           │Ctrl││End │ - Move cursor to lower     │Ctrl││PgDn│ - Move cursor to          └────┘└────┘   left corner of screen.   └────┘└────┘   bottom of form.         =====                                                                          FormGen Fill                 Field Definition Keys                      Help  3                             ═════════════════════                                                                                                            ┌────┐                                  ┌────┐                                 │ F1 │ - Define Text Field              │ F2 │ - Define Numeric Field          └────┘   ─────────────────              └────┘   ────────────────────          Creates a text input field at the       Creates a numeric field at the         cursor position. Use arrow keys         cursor position. The field may be      (or the right mouse button) to          entered or computed.                   strech the field to the desired                                                dimensions and then press return.       Entered fields will prompt for:        You will then be asked for a                                                   default value for the field.            FORMAT - format mask (see Page 6)                                              DEFAULT - default value at entry                                                         time (if any)                                                                                                                                       Computed fields will prompt for:                                                                                                                              FORMAT - format mask (see Page 6)                                              FORMULA - calculation (see Page 7)     =====                                                                          FormGen Fill                 Field Definition Keys (cont'd)             Help  4                             ═════════════════════                             ┌────┐                                                                         │ F3 │ - Define Field                                                          └────┘   ────────────                                                          Creates an entry field at the                                                  cursor position. Types available:                                                                                                                                1) TEXT                                                                        2) NUMERIC                                                                         1) entered                                                                     2) computed                                                                3) DATE                                                                            1) entered                                                                     2) current @ Entry                                                         4) TIME                                                                            1) entered                                                                     2) current @ entry                                                                                                                                     =====                                                                          FormGen Fill                       Other Keys                           Help  5                                   ══════════                                                                                                                 ┌────┐                                  ┌────┐┌────┐                           │ F9 │ - Save form definition.          │Alt ││ F9 │ - Load form & definitions.└────┘                                  └────┘└────┘                           ┌────┐┌────┐                            ┌────┐┌────┐                           │Alt ││ P  │ - Set path to data         │Alt ││ X  │ - Exit FormGen Fill       └────┘└────┘   directory.               └────┘└────┘                           ┌────┐┌────┐                            ┌────┐┌────┐                           │Alt ││ O  │ - Call operating system.   │Alt ││ Q  │ - Toggle cursor position  └────┘└────┘   This loads a secondary   └────┘└────┘   display between Row/Col copy of DOS, allowing files to be       and vertical/horizontal inches.        copied, disks formatted, and other                                             programs to be run from within                                                 the DEFINE module.                                                                                                                                            To return to DEFINE, type EXIT at                                              the DOS prompt.                                                                =====                                                                          FormGen Fill                    Numeric Formats                         Help  6                                ═══════════════                                                                                                                       Formats may be specified for numeric fields using:                                                                                                              #, period (.), $ or $$, + or -, and comma (,)                                                                                                                 Example: value=1234.567                                                                                                                               ┌──────────────┬──────────────┬───────────────────────────────────────────┐    │    Format    │    Output    │                  Comment                  │    ╞══════════════╪══════════════╪═══════════════════════════════════════════╡    │    #####     │     1235     │ leading blank, rounded to nearest integer │    │     ####.#   │     1234.6   │ one decimal place                         │    │     ####.##  │     1234.57  │ format for money                          │    ├──────────────┼──────────────┼───────────────────────────────────────────┤    │   ##,###     │    1,235     │ comma divides thousands                   │    │  $##,###.##  │  $ 1,234.57  │ left aligned dollar sign                  │    │ $$##,###.##  │   $1,234.57  │ dollar sign against first digit           │    ├──────────────┼──────────────┼───────────────────────────────────────────┤    │ $$##,###.##- │   $1,234.57  │ would show trailing minus if negative     │    │ $$##,###.##+ │   $1,234.57+ │ shows trailing plus, (-) if negative      │    └──────────────┴──────────────┴───────────────────────────────────────────┘  =====                                                                          FormGen Fill                       Formulas                             Help  7                                   ════════                                                                                                                      Four standard math operations          In addition, constant percentages       are available:                         are supported. (ie. 12.5%)                                                                                             +  addition      *  multiplication     The values of other fields are          -  subtraction   /  division           indicated by square brackets. []                                                                                      ┌─────────────────────────────┬───────────────────────────────────────────┐    │           Formula           │                  Comment                  │    ╞═════════════════════════════╪═══════════════════════════════════════════╡    │ [8]*[12]+7                  │ [field 8] x [field 12] + 7                │    │ [8]*([12]+7)                │ [field 8] x the result of [field 12] + 7  │    ├─────────────────────────────┼───────────────────────────────────────────┤    │ [3]/2                       │ [field 3] divided by 2                    │    │ [28]*8.25%                  │ 8.25 percent of [field 28]                │    ├─────────────────────────────┼───────────────────────────────────────────┤    │ [1]+[2]+[3]+[4]+[5]+[6]     │ the sum of fields 1 thru 6                │    └─────────────────────────────┴───────────────────────────────────────────┘  =====                                                                          FormGen Fill                   General Procedure                        Help  8                               ═════════════════                                                                                                                To use FormGen Fill to fill in forms created with FormGen, you first define    the position and type of each data field on the form.  Once this is done,      you can use the Fill module to fill and print the form.                                                                                                       Data fields can contain any kind of information, but four different types      of fields are provided:                                                                                                                                            text - may contain any textual or numeric material and may                            span several lines                                                   numeric - contain numeric information only and can be used in                            calculations                                                            date - uses the date from the system clock, or allows a date to                       be entered                                                              time - uses the time from the system clock, or allows a time to                       be entered                                                       =====                                                                          FormGen Fill                        Startup                             Help  9                                    ═══════                                                                                                                   Syntax to set up field definitions is:                                                                                                                               DEFINE filespec                                                                                                                                        Syntax to fill in a form is:                                                                                                                                         FILL filespec /P                                                                                                                                       where:                                                                                filespec - is the name of an existing .FRM file to b e loaded                             on startup                                                                                                                                         /P - optional switch to be used if your system uses non-standard                    hardware which results in messages like "Printer Not Connected"                when this is obviously not the case.                               =====                                                                          End of FormGen Fill Help                                                       *****